//
//  LCSTools.m
//  LCSJieMianApp
//
//  Created by 千锋 on 15/12/18.
//  Copyright (c) 2015年 1000phone. All rights reserved.
//

#import "LCSTools.h"

@implementation LCSTools


+ (UIColor *)getRandomColor
{
    return [UIColor colorWithRed:(float)(1+arc4random()%99)/100 green:(float)(1+arc4random()%99)/100 blue:(float)(1+arc4random()%99)/100 alpha:1];
}

+ (float)lerp:(float)percent min:(float)nMin max:(float)nMax
{
    float result = nMin;
    
    result = nMin + percent * (nMax - nMin);
    
    return result;
}

@end
